mafetter@fleming.research [Sat, 12 Feb 2005 16:34:28 +0000 (16:34 +0000)]
bitkeeper revision 1.1159.261.2 (420e3014BpIA6NnJTdNQGkfIDMtzmQ)
Added an in-memory ring buffer to which serial console output
can be temporarily redirected. Mode is toggled by the "c" key on
the Xen console.
Nice hack for printk() intensive debugging modes.
When switching back to serial output, the current contents of the
buffer are first dumped. Buffer defaults to 128Kb, but size can
be set on the Xen boot command line.
mafetter@fleming.research [Sat, 12 Feb 2005 14:38:06 +0000 (14:38 +0000)]
bitkeeper revision 1.1159.261.1 (420e14ceCymFrPEpDCTaPJueMUTvsg)
Improved check_pagetable checking.
Added check_all_pagetables as an alternative to check_pagetable().
mafetter@fleming.research [Tue, 8 Feb 2005 17:49:09 +0000 (17:49 +0000)]
bitkeeper revision 1.1159.1.549 (4208fb95gxAvpOu2Y6U5GTnniA8anQ)
Merge maf46@ssh-relay1.cl.cam.ac.uk:/usr/groups/xeno/BK/xen-unstable.bk
into fleming.research:/scratch/fleming/mafetter/xen.work
mafetter@fleming.research [Tue, 8 Feb 2005 17:47:44 +0000 (17:47 +0000)]
bitkeeper revision 1.1159.254.1 (4208fb40ebFKAx9nnWfHPfWIPdQ9Vw)
Bug fix for free_domain_struct().
Don't dereference a pointer after we've free'd it.
kaf24@scramble.cl.cam.ac.uk [Tue, 8 Feb 2005 17:39:38 +0000 (17:39 +0000)]
bitkeeper revision 1.1159.1.548 (4208f95aAgOLAVzYN_LfO9DmE-DoNA)
ignore list clean.
Signed-off-by: keir.fraser@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Tue, 8 Feb 2005 17:37:09 +0000 (17:37 +0000)]
bitkeeper revision 1.1159.1.547 (4208f8c5CfxK9ZFrm2AcWi7LSNQ5sg)
Merge scramble.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
kaf24@scramble.cl.cam.ac.uk [Tue, 8 Feb 2005 17:36:37 +0000 (17:36 +0000)]
bitkeeper revision 1.1159.253.1 (4208f8a54Zaz-XgC11YTHeLxPHPoZg)
Merge scramble.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
smh22@tempest.cl.cam.ac.uk [Tue, 8 Feb 2005 17:36:23 +0000 (17:36 +0000)]
bitkeeper revision 1.1159.1.546 (4208f897krIXzlEsP6G6V3H5URXQSg)
fix typo
Signed-off-by: steven.hand@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Tue, 8 Feb 2005 17:29:47 +0000 (17:29 +0000)]
bitkeeper revision 1.1159.212.133 (4208f70bysX-Xugo-Q2_ptciUVbe_g)
Use size-independent '%p' format string in preference to '%08lx'.
Signed-off-by: keir.fraser@cl.cam.ac.uk
smh22@tempest.cl.cam.ac.uk [Tue, 8 Feb 2005 16:44:16 +0000 (16:44 +0000)]
bitkeeper revision 1.1159.1.545 (
4208ec60-ql2CB2KKyZRC_8udlW9kA)
Merge tempest.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xeno.bk
into tempest.cl.cam.ac.uk:/local/scratch/smh22/xen-unstable.bk
kaf24@scramble.cl.cam.ac.uk [Tue, 8 Feb 2005 16:02:52 +0000 (16:02 +0000)]
bitkeeper revision 1.1159.212.132 (4208e2acn2x2RLZsxZIR12IGEO1b3A)
Merge scramble.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
kaf24@scramble.cl.cam.ac.uk [Tue, 8 Feb 2005 16:02:44 +0000 (16:02 +0000)]
bitkeeper revision 1.1159.252.1 (4208e2a42Fwe83QQfJdFQI8V302tYg)
Reorganise mm.h to split out 32-bit and 64-bit definitions. Fix x86_64
definitions to mask out the bits that we don't care about.
Signed-off-by: keir.fraser@cl.cam.ac.uk
iap10@freefall.cl.cam.ac.uk [Tue, 8 Feb 2005 15:45:45 +0000 (15:45 +0000)]
bitkeeper revision 1.1159.212.131 (4208dea93kRwptTEZzh2Dm2aH9dAKA)
merge
iap10@freefall.cl.cam.ac.uk [Tue, 8 Feb 2005 15:43:01 +0000 (15:43 +0000)]
bitkeeper revision 1.1159.223.80 (4208de05Xtv_u_3smJSRU6ex6bTAfA)
Some functions aren't static and could be (damn C language!).
I tried turning on -Wmissing-prototypes: unfortunately gives warnings
for functions used in asm, which means introducing gratuitous prototypes
for them. Not sure it's worth it.
1) keyhandler.c: keypress_softirq() and do_task_queues() can be static.
2) physdev.c: pcidev_dom0_hidden() can be static.
3) resource.c/resource.h: check_region is deprecated (racy): remove.
4) sched_bvt.c: lots of things can be static.
5) pci/compat.c: not required for Xen.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (authored)
Signed-off-by: ian.pratt@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Tue, 8 Feb 2005 15:42:33 +0000 (15:42 +0000)]
bitkeeper revision 1.1159.212.130 (4208dde9v8U9U_7hI23vverH97_FLQ)
Merge scramble.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
kaf24@scramble.cl.cam.ac.uk [Tue, 8 Feb 2005 15:42:26 +0000 (15:42 +0000)]
bitkeeper revision 1.1159.251.1 (4208dde2yO5a2hmuPJlwJg0U4vM8yA)
Use p_paddr when loading Elf program segments; not p_vaddr.
Signed-off-by: keir.fraser@cl.cam.ac.uk
akw27@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 15:18:48 +0000 (15:18 +0000)]
bitkeeper revision 1.1159.212.129 (4208d858olmxfMnz16ahNWDNaOt4KQ)
Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xeno.bk
into labyrinth.cl.cam.ac.uk:/auto/anfs/nos1/akw27/xeno-clone/xeno.bk
akw27@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 15:17:35 +0000 (15:17 +0000)]
bitkeeper revision 1.1159.249.2 (4208d80fdADS1E8W_FrA3GnIhbkDTw)
my bad.
signed-off-by: akw27@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Tue, 8 Feb 2005 15:13:51 +0000 (15:13 +0000)]
bitkeeper revision 1.1159.212.128 (4208d72fZEHIE9NOZZbr91V7R-3gUg)
Merge scramble.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
kaf24@scramble.cl.cam.ac.uk [Tue, 8 Feb 2005 15:13:45 +0000 (15:13 +0000)]
bitkeeper revision 1.1159.250.1 (4208d729hvKh9E4GWJWvFDThd8OXyA)
More x86_64 fixes/cleanups. NB. update_va_mapping hypercalls now
accept a virtual address, *not* a "virtual page number".
Signed-off-by: keir.fraser@cl.cam.ac.uk
akw27@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 14:47:09 +0000 (14:47 +0000)]
bitkeeper revision 1.1159.249.1 (4208d0edi9hSgBaQl0hrDcYiEH0yxg)
blktap driver fixes:
Allow the tap to terminate a block device (not need a backend).
Allow it to run in dom0.
Forward control messages to user space as well.
Signed-off-by: akw27@cl.cam.ac.uk
mafetter@fleming.research [Tue, 8 Feb 2005 12:27:23 +0000 (12:27 +0000)]
bitkeeper revision 1.1159.212.127 (4208b02bTdSR4AVYRg8diDkKZmIVUg)
General shadow code cleanup.
Fixed compilation problems when SHADOW_DEBUG is enabled.
Fixed compilation problems when CONFIG_VMX is undefined.
Simplified l1pte_write_fault and l1pte_read_fault.
Name change: spfn => smfn (shadow machine frame numbers).
In general, the terms pfn and gpfn now refer to pages in the
guest's idea of physical frames (which diffs for full shadow
guests). mfn always refers to a machine frame number.
One bug fix for check_pagetable():
If we're using writable page tables
along with shadow mode, don't check the currently writable page table
page -- check its snapshot instead.
Signed-off-by: michael.fetterman@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Tue, 8 Feb 2005 11:07:10 +0000 (11:07 +0000)]
bitkeeper revision 1.1159.212.126 (42089d5esMXb54hvuQX14wvXnCm18w)
Various hypercall fixes for x86_64.
Main todos: 1. mmu_updates/update_va_mapping hypercalls.
2. map perdomain_pt into Xen address space.
3. exception/interrupt callbacks to guest OS.
4. user-space ring 3 vs. guest-OS ring 3.
Signed-off-by: keir.fraser@cl.cam.ac.uk
iap10@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 03:15:03 +0000 (03:15 +0000)]
bitkeeper revision 1.1159.212.125 (42082eb7N-IslXNUjMvYswTnizJdsw)
Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
iap10@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 03:14:41 +0000 (03:14 +0000)]
bitkeeper revision 1.1159.223.79 (42082ea1obdbIutzD0IY-9Fdcf7Exw)
Fix to memory debugging audit code.
Signed-off-by: ian@xensource.com
iap10@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 03:10:00 +0000 (03:10 +0000)]
bitkeeper revision 1.1159.212.124 (42082d88aeY4pFTDqfgHMrvhse0-PA)
Fix to memory debugging audit code.
Signed-off-by: ian@xensource.com
iap10@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 02:12:21 +0000 (02:12 +0000)]
bitkeeper revision 1.1159.212.123 (42082005dxGUQnJcMdl-1781X20PQQ)
Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into labyrinth.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk
iap10@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 02:11:57 +0000 (02:11 +0000)]
bitkeeper revision 1.1159.248.1 (42081fedCWYqmUmFHfXFmy6z8jqp3w)
Some cleanups:
- Use ENTRIES_PER_L1_PAGETABLE instead of ENTRIES_PER_L2_PAGETABLE
- Use PAGE_SHIFT instead of L1_PAGETABLE_SHIFT
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
iap10@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 01:17:20 +0000 (01:17 +0000)]
bitkeeper revision 1.1159.212.122 (420813205N6xleek-CEt8_zMptvY9w)
Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
iap10@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 01:16:50 +0000 (01:16 +0000)]
bitkeeper revision 1.1159.223.78 (
42081302-eWxmHBN6T8FdRJD5VvsOg)
This very simple patch is really just cosmetic. It "fixes" xend so that
it doesn't report restart as: "WARNING (XendDomainInfo:1038) Unknown
config field restart" in the xend.log. I'm not sure who should sign off
on this, but the patch is attached.
From: "B.G. Bruce" <bgb@nt-nv.com>
Signed-off-by: ian@xensource.com
iap10@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 01:04:49 +0000 (01:04 +0000)]
bitkeeper revision 1.1159.212.121 (42081031Gcfd1G5fgexBl7vd4XfmLQ)
Use 1:1 pagetables used for guest physical mode emulation for doing
phys_to_machine_mapping as well.
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
iap10@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 01:03:26 +0000 (01:03 +0000)]
bitkeeper revision 1.1159.212.120 (42080fdeqkhdPXOxk9B5egncOrellQ)
Make phys_to_machine_mapping a static inline function.
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
iap10@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 00:35:02 +0000 (00:35 +0000)]
bitkeeper revision 1.1159.212.119 (42080936hYySAGh0O5TePVvGrzAKtA)
Enable PCI.
Signed-off-by: Xin B Li <xin.b.li@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
iap10@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 00:32:45 +0000 (00:32 +0000)]
bitkeeper revision 1.1159.212.118 (420808adQbNXWTSEhY2Rqu5ALqDF5Q)
- Detect the CPU speed automatically, rather than having the user
specify a ips in bochsrc. The user can still specify it to override
the auto-detected value.
- Care should be taken to make sure that tsc_per_bx_tick is not too
small or too big. Otherwise, numerical precision issues may result
in the wrong calculation of elapsed time
Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
iap10@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 00:30:21 +0000 (00:30 +0000)]
bitkeeper revision 1.1159.212.117 (4208081dSxJads7MU6-VcXvC6TNMjQ)
- Use a more appropriate path for disk images
- Add a 1 GB disk image as an option
From: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
iap10@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 00:28:11 +0000 (00:28 +0000)]
bitkeeper revision 1.1159.212.116 (4208079bssB3TTrruGComoEvhNrq9Q)
Fix some of the time virtualization issues.
- Compute the elapsed time correctly in the cpu loop
- Try to inject interrupts in the vmexit handler
Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
kaf24@scramble.cl.cam.ac.uk [Mon, 7 Feb 2005 19:45:56 +0000 (19:45 +0000)]
bitkeeper revision 1.1159.212.115 (4207c574hv18R_VTm-3a9w_AZzNBWw)
Force hypercall continuation arguments to size of longs.
Signed-off-by: keir.fraser@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Mon, 7 Feb 2005 19:12:35 +0000 (19:12 +0000)]
bitkeeper revision 1.1159.212.114 (4207bda3k03bdnnP3uGkOvKhmXjbkg)
Merge scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
kaf24@scramble.cl.cam.ac.uk [Mon, 7 Feb 2005 19:11:33 +0000 (19:11 +0000)]
bitkeeper revision 1.1159.223.77 (4207bd65yRdFmE9Py8fLUBk3826_Ig)
Minor tidy of vif-nat script.
Signed-off-by: keir.fraser@cl.cam.ac.uk
iap10@freefall.cl.cam.ac.uk [Mon, 7 Feb 2005 18:33:54 +0000 (18:33 +0000)]
bitkeeper revision 1.1159.212.113 (4207b492G2gu92Nd8QzJaaXA-ogT4g)
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
iap10@freefall.cl.cam.ac.uk [Mon, 7 Feb 2005 18:33:22 +0000 (18:33 +0000)]
bitkeeper revision 1.1159.223.76 (4207b472nHz4nbC_OJgbSmfRVow8XQ)
Don't let xend throw away stderr...
kaf24@scramble.cl.cam.ac.uk [Mon, 7 Feb 2005 18:29:22 +0000 (18:29 +0000)]
bitkeeper revision 1.1159.212.112 (4207b382VvZgSA3Pg79SQESssYJbHQ)
More x86_64 fixes.
Signed-off-by: keir.fraser@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Mon, 7 Feb 2005 17:20:50 +0000 (17:20 +0000)]
bitkeeper revision 1.1159.212.111 (4207a372uscrEafJDzNOVuj8gyt_Fw)
SYSCALL fixes.
Signed-off-by: keir.fraser@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Mon, 7 Feb 2005 16:00:00 +0000 (16:00 +0000)]
bitkeeper revision 1.1159.212.110 (42079080u5EKN2Dp7MbOEM7lnEs4gg)
Various bug fixes, and NMI/DF improvements for x86_64.
Signed-off-by: keir.fraser@cl.cam.ac.uk
iap10@labyrinth.cl.cam.ac.uk [Mon, 7 Feb 2005 15:51:42 +0000 (15:51 +0000)]
bitkeeper revision 1.1159.212.109 (
42078e8e1-3RnmEqHbanC69txgXoZQ)
Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
iap10@labyrinth.cl.cam.ac.uk [Mon, 7 Feb 2005 15:48:40 +0000 (15:48 +0000)]
bitkeeper revision 1.1159.223.75 (42078dd8VBcyJ0X9yF-bRHcBVUJ3Ww)
As pointed out on the xen-devel list, the vm86 call was not very robust in
Xen.
It turned out to be due to a missing check in the pagefault handler,
determining whether the pagefault came from userspace or from the kernel.
Now the syscall-crash tool doesn't cause any "Oops" on the vm86 calls anymore.
From: Stephan Diestelhorst <sd386@cam.ac.uk>
Signed-off-by: ian.pratt@cl.cam.ac.uk
iap10@freefall.cl.cam.ac.uk [Mon, 7 Feb 2005 14:48:48 +0000 (14:48 +0000)]
bitkeeper revision 1.1159.212.108 (42077fd0S_urmaLkjaFnGgMRPjUCMA)
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk
iap10@labyrinth.cl.cam.ac.uk [Mon, 7 Feb 2005 14:48:34 +0000 (14:48 +0000)]
bitkeeper revision 1.1159.247.1 (42077fc2VzXadqgxjViiGV6bG9CwbA)
Don't memcpy the arch specific bit of exec_domain from the idle task's.
This caused the ctxt->pt_base !=0 error when starting new domains.
kaf24@scramble.cl.cam.ac.uk [Mon, 7 Feb 2005 11:58:09 +0000 (11:58 +0000)]
bitkeeper revision 1.1159.212.107 (420757d1DdfFUXGMssAN0f_k_jSJvA)
Merge scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
kaf24@scramble.cl.cam.ac.uk [Mon, 7 Feb 2005 11:57:29 +0000 (11:57 +0000)]
bitkeeper revision 1.1159.223.74 (420757a9FtyPHOdlg42s6EIT2DD1zw)
Pad Xen image to end on a page boundary. Avoids kexec bug.
Signed-off-by: keir.fraser@cl.cam.ac.uk
smh22@tempest.cl.cam.ac.uk [Mon, 7 Feb 2005 08:19:24 +0000 (08:19 +0000)]
bitkeeper revision 1.1159.1.544 (4207248crq3YxiyLWjUehtHv_Yd3tg)
Merge tempest.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xeno.bk
into tempest.cl.cam.ac.uk:/local/scratch/smh22/xen-unstable.bk
kaf24@viper.(none) [Sun, 6 Feb 2005 21:30:19 +0000 (21:30 +0000)]
bitkeeper revision 1.1159.212.106 (42068c6bV88PUeuTyW0W65OVudMAlQ)
Added user-memory accessing functionality for x86_64.
Signed-off-by: keir.fraser@cl.cam.ac.uk
kaf24@viper.(none) [Sun, 6 Feb 2005 18:49:34 +0000 (18:49 +0000)]
bitkeeper revision 1.1159.212.105 (420666bemy1hHhMRPUknF0p3-jxn_w)
x86/64 debug builds use guard pages in unallocated heap space and for
stack-limit enforcement.
Signed-off-by: keir.fraser@cl.cam.ac.uk
kaf24@viper.(none) [Sun, 6 Feb 2005 12:48:31 +0000 (12:48 +0000)]
bitkeeper revision 1.1159.212.104 (4206121fBCAx-xpYAHk3p-Gk_3xChw)
Merge viper.(none):/home/kaf24/xen-2.0-testing.bk
into viper.(none):/home/kaf24/xen-unstable.bk
kaf24@viper.(none) [Sun, 6 Feb 2005 12:48:07 +0000 (12:48 +0000)]
bitkeeper revision 1.1159.223.73 (42061207JyX53LmlrclgfiWwVqnF7w)
Avoid large stack frame in arch_dom0_op by dynamically allocating space
for getmeminfo batch.
Signed-off-by: keir.fraser@cl.cam.ac.uk
kaf24@viper.(none) [Sun, 6 Feb 2005 12:13:37 +0000 (12:13 +0000)]
bitkeeper revision 1.1159.212.103 (420609f1fbTBjl9ynLuVLkWWeqTOag)
Merge viper.(none):/home/kaf24/xen-2.0-testing.bk
into viper.(none):/home/kaf24/xen-unstable.bk
kaf24@viper.(none) [Sun, 6 Feb 2005 12:09:52 +0000 (12:09 +0000)]
bitkeeper revision 1.1159.223.72 (42060910CAWXk13FiquPxR_uRrD_1A)
Prevent stack overflow in PCI setup code.
Signed-off-by: keir.fraser@cl.cam.ac.uk
kaf24@viper.(none) [Sun, 6 Feb 2005 12:07:18 +0000 (12:07 +0000)]
bitkeeper revision 1.1159.223.71 (42060876pgZEpnal0wuK3VOOWP9zCQ)
Fix build system to rebuild file containing banner text every time.
Signed-off-by: keir.fraser@cl.cam.ac.uk
iap10@freefall.cl.cam.ac.uk [Sun, 6 Feb 2005 09:39:57 +0000 (09:39 +0000)]
bitkeeper revision 1.1159.212.102 (4205e5edzyj_0mq8tWZYw76EVB4zcw)
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
iap10@freefall.cl.cam.ac.uk [Sun, 6 Feb 2005 09:39:38 +0000 (09:39 +0000)]
bitkeeper revision 1.1159.223.70 (4205e5daVr3OnfNS5GMFcoc8j80ODQ)
trivial fix to the ioremap for local pages
iap10@freefall.cl.cam.ac.uk [Sun, 6 Feb 2005 09:32:53 +0000 (09:32 +0000)]
bitkeeper revision 1.1159.212.101 (4205e445duHww3eKAPqc0vdxWD-fKQ)
trivial fix to the ioremap for local pages
kaf24@viper.(none) [Sat, 5 Feb 2005 18:20:15 +0000 (18:20 +0000)]
bitkeeper revision 1.1159.212.100 (42050e5fWLAKCQAvoZ3CPmyAaL-51g)
Reorganise 'struct domain' and 'struct exec_domain' to each have an
architecture-specific portion. Removed 'mm_struct'.
Signed-off-by: keir.fraser@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Sat, 5 Feb 2005 15:42:48 +0000 (15:42 +0000)]
bitkeeper revision 1.1159.212.99 (4204e978S7U_CKee_ItjbGQ8Ezbw3A)
Another scheduler fix for prev. manual merge.
Signed-off-by: keir.fraser@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Sat, 5 Feb 2005 15:35:15 +0000 (15:35 +0000)]
bitkeeper revision 1.1159.212.98 (4204e7b362YvATmkfmBxuFTvYN9JQQ)
Merge scramble.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
kaf24@scramble.cl.cam.ac.uk [Sat, 5 Feb 2005 15:35:09 +0000 (15:35 +0000)]
bitkeeper revision 1.1159.246.3 (4204e7ad2KYRVbyWiC88XmVkIag9Wg)
More common-code movements for ia64.
Signed-off-by: keir.fraser@cl.cam.ac.uk
mafetter@fleming.research [Sat, 5 Feb 2005 14:48:39 +0000 (14:48 +0000)]
bitkeeper revision 1.1159.212.97 (4204dcc70PktbFSV6N0XNpd9T7Z_Nw)
Merge maf46@ssh-relay1.cl.cam.ac.uk:/usr/groups/xeno/BK/xen-unstable.bk
into fleming.research:/scratch/fleming/mafetter/xen-unstable.bk
kaf24@scramble.cl.cam.ac.uk [Sat, 5 Feb 2005 12:52:28 +0000 (12:52 +0000)]
bitkeeper revision 1.1159.246.2 (4204c18cvI5Uk50dXB8wqfQwKj9ZGw)
Manual merge.
Signed-off-by: keir.fraser@Cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Sat, 5 Feb 2005 12:43:14 +0000 (12:43 +0000)]
bitkeeper revision 1.1159.246.1 (4204bf62SAXmiDrhK-FnLlQjHbkY8A)
Manual merge.
Signed-off-by: keir.fraser@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Sat, 5 Feb 2005 12:39:41 +0000 (12:39 +0000)]
bitkeeper revision 1.1159.223.69 (4204be8dLxMs-eFXEJxgXu_dhM7vLw)
Merge scramble.cl.cam.ac.uk:/auto/groups/xeno/BK/xen-2.0-testing.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
kaf24@scramble.cl.cam.ac.uk [Sat, 5 Feb 2005 12:39:34 +0000 (12:39 +0000)]
bitkeeper revision 1.1159.245.1 (4204be86F8AKmyv5_m4N44YWgyyt_Q)
Another NMI watchdog fix. Deferred NMIs need to ACK the local APIC.
Signed-off-by: keir.fraser@cl.cam.ac.uk
mafetter@fleming.research [Sat, 5 Feb 2005 11:37:25 +0000 (11:37 +0000)]
bitkeeper revision 1.1159.212.96 (4204aff5pQipffND8_37kyj01pfiWQ)
Hand merge changes to schedule.c
Signed-off-by: michael.fetterman@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Sat, 5 Feb 2005 11:12:14 +0000 (11:12 +0000)]
bitkeeper revision 1.1159.212.95 (4204aa0ee0re5Xx1zWrJ9ejxzgRs3w)
Various cleanups. Remove PDB pending simpler GDB stub and/or NetBSD debugger.
Force emacs mode to appropriate tabbing in various files.
Signed-off-by: keir.fraser@cl.cam.ac.uk
mafetter@fleming.research [Sat, 5 Feb 2005 10:50:49 +0000 (10:50 +0000)]
bitkeeper revision 1.1159.223.68 (4204a5090n9Cd2ll6YcdL3tK2uDu1A)
Bug fix to the scheduler for writable page tables.
Don't flush the writable page tables inside __enter_scheduler()
until after we've committed to switching to another domain.
Here's the problem: if enough debugging messages are enabled (for
example, shadow mode and/or writable page tables messages), then we
can get into a situation where we *always* visit
__enter_scheduler() after every page fault and/or hypercall. If we
flush the writable page tables every time we take a page fault,
we'll never end up actually getting into the domain with write
permissions enabled to its page table.
Signed-off-by: michael.fetterman@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Sat, 5 Feb 2005 10:33:02 +0000 (10:33 +0000)]
bitkeeper revision 1.1159.212.94 (4204a0deFxk8r7Vhks3j_qvRlbZMJQ)
Merge scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
kaf24@scramble.cl.cam.ac.uk [Sat, 5 Feb 2005 10:31:37 +0000 (10:31 +0000)]
bitkeeper revision 1.1159.223.67 (4204a089yB7FSdCp0Isa4dMFs_V3qQ)
Building PIC .so libs is now optional. Defaults to enabled for Debian.
Signed-off-by: keir.fraser@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Sat, 5 Feb 2005 09:34:44 +0000 (09:34 +0000)]
bitkeeper revision 1.1159.212.93 (42049334yxlf_y0Z3UvBj3IoXK5ToA)
Merge scramble.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
kaf24@scramble.cl.cam.ac.uk [Sat, 5 Feb 2005 09:34:35 +0000 (09:34 +0000)]
bitkeeper revision 1.1159.244.1 (4204932bmZgxudypIonkb5Mm9GmAtA)
Create arch_do_boot_vcpu().
Signed-off-by: keir.fraser@cl.cam.ac.uk
iap10@freefall.cl.cam.ac.uk [Sat, 5 Feb 2005 09:30:02 +0000 (09:30 +0000)]
bitkeeper revision 1.1159.212.92 (4204921aEJqAV7p8MQEa98S3OLscXg)
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
iap10@labyrinth.cl.cam.ac.uk [Sat, 5 Feb 2005 09:16:37 +0000 (09:16 +0000)]
bitkeeper revision 1.1159.223.66 (42048ef5frMFQFFm-sKDC6PrU8yraQ)
Name: pic-lib.patch
Description: support PIC code generation
Libraries have 2 methods of being compiled; a .so must contain non-pic
objects, while the .a can contain standard objects.
Signed-off-by: Adam Heath <doogie@brainfood.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Sat, 5 Feb 2005 09:15:28 +0000 (09:15 +0000)]
bitkeeper revision 1.1159.212.91 (42048eb0GfJFdOOq0Gqyg5xxYH7Mvw)
trivial deletion.
iap10@labyrinth.cl.cam.ac.uk [Sat, 5 Feb 2005 09:11:51 +0000 (09:11 +0000)]
bitkeeper revision 1.1159.223.65 (42048dd7csr55HLi2cE2XeC4OklTGg)
Name: clean-mtrr.patch
Description: clean mtrr
Clean xen/arch/x86/mtrr/*
Signed-off-by: Adam Heath <doogie@brainfood.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
iap10@labyrinth.cl.cam.ac.uk [Sat, 5 Feb 2005 09:05:43 +0000 (09:05 +0000)]
bitkeeper revision 1.1159.223.64 (42048c67tDD9EILuuYdpEx-vM6LTnw)
Name: tools-misc-TARGETS.patch
Description: Split compile/link stages
distcc behaves much better when you compile and link in 2 separate steps.
Plus, this is a more standard way of doing things.
Signed-off-by: Adam Heath <doogie@brainfood.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
iap10@labyrinth.cl.cam.ac.uk [Sat, 5 Feb 2005 08:07:49 +0000 (08:07 +0000)]
bitkeeper revision 1.1159.212.90 (42047ed5VzguPrbGsZXJdWcbuo6YgA)
remove slab.c
mwilli2@equilibrium.research [Sat, 5 Feb 2005 02:13:44 +0000 (02:13 +0000)]
bitkeeper revision 1.1159.212.89 (42042bd8voKSmpFkxv2_28yjflPbmQ)
Merge ssh://srg//auto/groups/xeno/BK/xeno.bk
into equilibrium.research:/home/irchomes/mwilli2/src/xen-3.0-devel.bk
mwilli2@equilibrium.research [Sat, 5 Feb 2005 02:12:56 +0000 (02:12 +0000)]
bitkeeper revision 1.1159.243.1 (42042ba8OAh4EZUckgdGWWSqRLutaQ)
Various cleanups, including a move to the new ring macros.
iap10@labyrinth.cl.cam.ac.uk [Fri, 4 Feb 2005 22:48:21 +0000 (22:48 +0000)]
bitkeeper revision 1.1159.212.88 (4203fbb5CoEmX_fzlXc90dxNw6gqoA)
Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into labyrinth.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bkX
iap10@labyrinth.cl.cam.ac.uk [Fri, 4 Feb 2005 22:47:58 +0000 (22:47 +0000)]
bitkeeper revision 1.1159.242.1 (4203fb9erjxo9v5Lwlohe2bcTrLYpg)
1. Deleted slab.c, added xmalloc.c. Do not rename header or remove
unnecessary includes (yet).
2. Add explicit align arg, although current implementation
over-aligns.
3. Add list_for_each_entry_safe().
4. Make xmalloc_array use _xmalloc_array, to avoid duplicate eval
of "num" arg.
5. Rearrange slab.h a little to show the exposed functions/macros
first.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: ian.pratt@cl.cam.ac.uk
smh22@tempest.cl.cam.ac.uk [Fri, 4 Feb 2005 19:26:10 +0000 (19:26 +0000)]
bitkeeper revision 1.1159.1.543 (
4203cc52-IjyDkH9JipqJcJq995IaQ)
Merge tempest.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xeno.bk
into tempest.cl.cam.ac.uk:/local/scratch/smh22/xen-unstable.bk
kaf24@scramble.cl.cam.ac.uk [Fri, 4 Feb 2005 17:35:22 +0000 (17:35 +0000)]
bitkeeper revision 1.1159.212.87 (4203b25aTB_XSOA2G0yxgrj0ey-vIA)
Defined per-CPU SYSCALL entry point for hypercalls. We enter the DOM0
kernel and can receive hypercalls. Now probably need to fix the
user-access (uaccess.h) functions and macros.
Signed-off-by: keir.fraser@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Fri, 4 Feb 2005 15:27:09 +0000 (15:27 +0000)]
bitkeeper revision 1.1159.212.86 (4203944ddTnTLXj6fYycRHIqY8hdCQ)
Fix 64-bit domain builder to correctly determine required number of
page-table pages to build DOM0 image.
Signed-off-by: keir.fraser@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Fri, 4 Feb 2005 14:48:37 +0000 (14:48 +0000)]
bitkeeper revision 1.1159.212.85 (42038b45EjUo-1JiSCHXW0Wav4TZGQ)
x86_64 progress: now entering ring 3. Need a hypercall (SYSCALL)
entry point, and some kind of DOM0 image to test against.
Signed-off-by: keir.fraser@cl.cam.ac.uk
smh22@tempest.cl.cam.ac.uk [Fri, 4 Feb 2005 14:44:18 +0000 (14:44 +0000)]
bitkeeper revision 1.1159.1.542 (42038a42_52IAalMZRKdTn0UbVN5fw)
Merge tempest.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xeno.bk
into tempest.cl.cam.ac.uk:/local/scratch/smh22/xen-unstable.bk
iap10@labyrinth.cl.cam.ac.uk [Fri, 4 Feb 2005 12:58:34 +0000 (12:58 +0000)]
bitkeeper revision 1.1159.223.63 (4203717aBdG3DtxPLfIkAUZh6esBbg)
added tag RELEASE-2.0.4
kaf24@scramble.cl.cam.ac.uk [Fri, 4 Feb 2005 09:26:26 +0000 (09:26 +0000)]
bitkeeper revision 1.1159.212.84 (42033fc2Q0eAAtQcKyCf8cXCt_Fgfg)
Common-code cleanups, for ia64.
Signed-off-by: keir.fraser@cl.cam.ac.uk
mwilli2@equilibrium.research [Fri, 4 Feb 2005 02:25:03 +0000 (02:25 +0000)]
bitkeeper revision 1.1159.212.83 (4202dcffqbOtLEivv5VMfLvO9roE_w)
Merge ssh://srg//auto/groups/xeno/BK/xeno.bk
into equilibrium.research:/home/irchomes/mwilli2/src/xen-3.0-devel.bk
mwilli2@equilibrium.research [Fri, 4 Feb 2005 02:24:03 +0000 (02:24 +0000)]
bitkeeper revision 1.1159.212.82 (4202dcc3h_cg7sFBNwdIyCk_2qkX0A)
Beginning a sprean clean of the USB code.
Lots of cleanups and fixes (thanks to Harry Butterworth for pointing out several
locking and allocation errors).
Signed-off-by: mark.williamson@cl.cam.ac.uk
iap10@labyrinth.cl.cam.ac.uk [Fri, 4 Feb 2005 00:08:55 +0000 (00:08 +0000)]
bitkeeper revision 1.1159.240.3 (4202bd17uoTYqnlSeqvW9fHjznmCHg)
Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into labyrinth.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk
iap10@labyrinth.cl.cam.ac.uk [Fri, 4 Feb 2005 00:08:28 +0000 (00:08 +0000)]
bitkeeper revision 1.1159.241.3 (4202bcfcMuCoA62roOJu-r3AKctkBQ)
strncpy will stop after a zero byte. Use memcpy instead.
Signed-off-by: Chengyuan Li <chengyuan.li@intel.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
iap10@labyrinth.cl.cam.ac.uk [Fri, 4 Feb 2005 00:05:42 +0000 (00:05 +0000)]
bitkeeper revision 1.1159.241.2 (4202bc56K28qaGGkiiKbJBLxsgnXSA)
Enable monitor assert. Earlier assert was broken and was deleted.
Signed-off-by: Joe Cihula <joseph.cihula@intel.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
iap10@labyrinth.cl.cam.ac.uk [Fri, 4 Feb 2005 00:01:54 +0000 (00:01 +0000)]
bitkeeper revision 1.1159.241.1 (4202bb72zRYg-QWeXrkKfXwmuL5I3A)
Add checking ISA DMA flag in cpu_loop. Also need to do bios_init manually
for now. With this change, floppy is functional.
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk